auth With OTP
inline suspend fun <T : AuthRecord> authWithOTP(collection: String, otpID: String, password: String, expandRelations: ExpandRelations = ExpandRelations(), fields: ShowFields = ShowFields()): AuthResponse<T>
Use the OTP password from the OTP email to log in Authenticate a single auth record with an one-time password (OTP).
Note that when requesting an OTP we return an otpId even if a user with the provided email doesn't exist as a very basic enumeration protection.
Parameters
collection
the ID or name of the auth collection
otp ID
the auth record's email.
password
the auth record's email.